package com.nice.nice201110.mapper;

import com.nice.nice201110.entity.TRole;
import com.nice.nice201110.vo.BaseVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TRoleMapper {

    int deleteByPrimaryKey(Integer id);  /** 删除数据*/
    int deleteSelective(Integer id);  /** 更新数据状态控制删除*/
    int insertSelective(TRole record);
    TRole selectByPrimaryKey(Integer id);
    List<TRole> selectByPrimaryKeys(BaseVo baseVo);
    int updateByPrimaryKeySelective(TRole record);

}